const mongoose = require("mongoose");

/**
 * 音乐 实体类
 * @type {mongoose.Schema}
 */
const musicSchema = new mongoose.Schema({
	name: String, //歌曲名称
	musicLength : Number, //长度
	introduce : String, //介绍
	albumId : mongoose.Schema.ObjectId //所属专辑
});

module.exports = mongoose.model("music", musicSchema);